#include <curses.h> //enable on windows(need PDcurses)
//#include <ncurses.> //enable on linux(need ncurses)
#include <stdio.h>
//compilation notes
//you must add -lpdcurses for windows(MinGW) gcc and -lncurses for linux gcc
//running notes, you need pdcurses.dll in the same directory

int jan()
{
puts("January - 2010");
puts("--------------");
puts("Sun Mon Tue Wed Thu Fri Sat");
puts("01  02  03  04  05  06  07 ");
puts("08  09  10  11  12  13  14 ");
puts("15  16  17  18  19  20  21 ");
puts("22  23  24  25  26  27  28 ");
puts("29  30  31   ");
puts("---------------");
}

int main(void)
{
initscr();

printw("Hello World, brought to you by the PDcurses library.\n");

printw("Press the enter key");

refresh();

getch();

endwin();

return 0;
}